<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>朝闻天下前台</title>

    
<link rel="stylesheet" href="/zwtx/Public/assets_h/stylesheets/bootstrap.min.css" media="all" rel="stylesheet" type="text/css" />
<link rel="stylesheet" href="/zwtx/Public/assets_h/stylesheets/font-awesome.css" media="all" rel="stylesheet" type="text/css" />
<link rel="stylesheet" href="/zwtx/Public/assets_h/stylesheets/se7en-font.css" media="all" rel="stylesheet" type="text/css" />
<link rel="stylesheet" href="/zwtx/Public/assets_h/stylesheets/style.css" media="all" rel="stylesheet" type="text/css" />
<link rel="stylesheet" href="/zwtx/Public/assets_h/stylesheets/theme.css" media="all" rel="stylesheet" type="text/css" />



<script src="/zwtx/Public/assets_h/javascripts/jquery.min.js" type="text/javascript"></script>
<script src="/zwtx/Public/assets_h/javascripts/jquery-ui.js" type="text/javascript"></script>
<script src="/zwtx/Public/assets_h/javascripts/bootstrap.min.js" type="text/javascript"></script>
<script src="/zwtx/Public/assets_h/javascripts/modernizr.custom.js" type="text/javascript"></script>
<script src="/zwtx/Public/assets_h/javascripts/main.js" type="text/javascript"></script>

    <style>
        .hideThisSpan{display:none;}
    </style>
    <link href="/zwtx/Public/assets_h/stylesheets/datepicker.css" media="all" rel="stylesheet" type="text/css"/>
    <script src="/zwtx/Public/assets_h/javascripts/jquery.bootstrap.wizard.js" type="text/javascript"></script>
    <script src="/zwtx/Public/assets_h/javascripts/fullcalendar.min.js" type="text/javascript"></script>
    <script src="/zwtx/Public/assets_h/javascripts/jquery.dataTables.min.js" type="text/javascript"></script>
    <script src="/zwtx/Public/assets_h/javascripts/jquery.easy-pie-chart.js" type="text/javascript"></script>
    <script src="/zwtx/Public/assets_h/javascripts/jquery.isotope.min.js" type="text/javascript"></script>
    <script src="/zwtx/Public/assets_h/javascripts/jquery.fancybox.pack.js" type="text/javascript"></script>
    <script src="/zwtx/Public/assets_h/javascripts/select2.js" type="text/javascript"></script>
    <script src="/zwtx/Public/assets_h/javascripts/jquery.inputmask.min.js" type="text/javascript"></script>
    <script src="/zwtx/Public/assets_h/javascripts/jquery.validate.js" type="text/javascript"></script>
    <script src="/zwtx/Public/assets_h/javascripts/bootstrap-fileupload.js" type="text/javascript"></script>
    <script src="/zwtx/Public/assets_h/javascripts/bootstrap-datepicker.js" type="text/javascript"></script>
    <script src="/zwtx/Public/assets_h/javascripts/bootstrap-timepicker.js" type="text/javascript"></script>
    <script src="/zwtx/Public/assets_h/javascripts/daterange-picker.js" type="text/javascript"></script>
    <script src="/zwtx/Public/assets_h/javascripts/date.js" type="text/javascript"></script>
    <script src="/zwtx/Public/assets_h/javascripts/jquery.sparkline.min.js" type="text/javascript"></script>
    <script src="/zwtx/Public/assets_h/javascripts/main.js" type="text/javascript"></script>

    <meta content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" name="viewport">

</head>
<body class="no-skin" style="background-color: #e8f0f1">
<div class="navbar navbar-fixed-top" style="background-color: #3f82dc">
    <div class="container-fluid top-bar">
        <div class="pull-right">
<?php if(is_array($upic)): $i = 0; $__LIST__ = $upic;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?><ul class="nav navbar-nav pull-right">
                <li class="dropdown user hidden-xs"><a data-toggle="dropdown" class="dropdown-toggle" href="#">
                    <img width="34" height="34" src="/zwtx/Public/images/<?php echo ($vo["pic"]); ?>">
                    <b class="caret"></b></a>
                    <ul class="dropdown-menu">
                        <li><a href="<?php echo U('Home/UserInfo/index');?>">
                            <i class="icon-user"></i>修改个人信息</a>
                        </li>
                        <li><a href="<?php echo U('Home/ChangePassword/index');?>">
                            <i class="icon-gear"></i>修改密码</a>
                        </li>

                        <li><a href="<?php echo U('Home/Login/index');?>">
                            <i class="icon-signout"></i>退出登录</a>
                        </li>

                    </ul>
                </li>

            </ul><?php endforeach; endif; else: echo "" ;endif; ?>
        </div>

    </div>

</div>


<div id="wrap" style="margin-bottom: 60px;width: 100%">
    <div class="container-fluid">
        <div class="row col-md-12 col-md-offset-2 " style="margin-bottom: 5%">
            <h2 style="text-align: center;color: #56abe4; margin-bottom: 0px;padding-bottom: 0px;">
                <p class="" style="font-family: 楷体;font-weight:bold;margin-bottom: 10px;margin-top: 10px;font-size: 35px">朝闻天下论坛回复区</p>
            </h2>
            <hr>
        </div>

        <div class="row col-lg-10 col-md-10 col-sm-10 col-xs-10 col-md-offset-1 col-lg-offset-1 col-ms-offset-1 col-xs-offset-1" style="background-color: #f5f2fc;height: 100%;border: solid 1px;border-color: #e1dee8;border-radius: 5%;width: 1500px;margin-left: 10%;">
            <div class="col-lg-1 col-md-1 col-sm-1 col-xs-1" style="margin-top: 1%;margin-right: 2%;">
                <ul style="list-style-type: none;padding-left: 0px;padding-right: 70px;">
                    <?php if(is_array($list)): $i = 0; $__LIST__ = $list;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$val): $mod = ($i % 2 );++$i;?><li style="margin: 0px;padding: 0px"><img src="/zwtx/Public/images/<?php echo ($val["pic"]); ?>" style="float: left;border-radius:30% ; width:80px;height: 80px;" alt="空"></li>
                        <li style="margin-bottom: 0px;padding-bottom: 0px;position: relative;text-align: center;font-family: 楷体;font-size: 20px;color: #ff8700">
                            <button type="button" class="btn btn-default" style="margin-bottom: 0px;padding-bottom: 0px;margin-top: 30%;width: 80px;height: 30px">小吧主</button>
                        </li>
                        <a href="#">
                            <li style="margin-top: 0px;padding-top: 0px;position: relative;text-align: center;font-family: 楷体;font-size: 25px;color: #ff8700"><?php echo ($val['username']); ?></li>
                        </a><?php endforeach; endif; else: echo "" ;endif; ?>
                </ul>

            </div>
            <?php if(is_array($list)): $i = 0; $__LIST__ = $list;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$val): $mod = ($i % 2 );++$i;?><div class=" col-lg-6 col-md-6 col-sm-6 col-xs-6 col-lg-offset-1 col-md-offset-1 col-xs-offset-1 col-ms-offset-1" style="margin-top: 1%;margin-bottom: 1%;border-radius: 5%;background-color: #ffffff;height: 100%">
                    <span class="hideThisSpan" style="text-align: center;font-family: 楷体;font-size: 20px"><?php echo ($val['id']); ?>.</span>
                    <p style="text-align: center;font-family: 楷体;font-size: 30px"><?php echo ($val['title']); ?></p>
                    <p style="margin-left: 5%;font-family: 楷体;font-size: 20px"><?php echo ($val['content']); ?></p>
                </div>
                <div class="col-lg-2 col-md-2 col-sm-2 col-xs-2 col-lg-offset-1 col-md-offset-1 col-xs-offset-1 col-ms-offset-1" style="">

                    <h3 style="float: right;text-align: right;font-family: 楷体;color: #4ff3fc">喜欢就扫码下载吧</h3>
                    <img src="/zwtx/Public/images/ma.png" width="100" height="100" style="float: right">
                    <a class="modelshow" href="javascript:;" newId="<?php echo ($val['id']); ?>" >
           <span  style="margin-top: 55%;width: 50%;float: left;font-family: 楷体;font-size: larger">
           评论
           </span>
                    </a>

                </div><?php endforeach; endif; else: echo "" ;endif; ?>
        </div>


        <!--<?php if(is_array($a)): $i = 0; $__LIST__ = $a;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?><div class="row col-lg-10 col-md-10 col-sm-10 col-xs-10 col-md-offset-1 col-lg-offset-1 col-ms-offset-1 col-xs-offset-1" style="margin-left: 10%;width: 1500px;border-radius: 3%;background-color:#f5f2fc ;border: solid 1px #e1dee8 ;height: 100%">

                <div class="col-lg-2 col-md-2 col-sm-2 col-xs-2 col-lg-offset-1 col-md-offset-1 col-xs-offset-1 col-ms-offset-1" style="text-align: center;">

                    <span style="float: left;font-family: 楷体;font-size: 20px"><?php echo ($vo['code']); ?>楼</span>
                    <ul style="list-style-type: none;">
                        <li style="text-align: left">
                            <img src="/zwtx/Public/images/<?php echo ($vo["pic"]); ?>" style="border-radius:50% ; width:50px;height: 50px;" alt="空">
                        </li>
                        <li style="text-align: left;font-family: 楷体;font-size: 30px">
                            <?php echo ($vo['username']); ?>
                        </li>
                    </ul>

                </div>
                <div class="col-lg-5 col-md-5 col-sm-5 col-xs-5 col-lg-offset-0 col-md-offset-0 col-xs-offset-0 col-ms-offset-0" style="border: solid 1px;border-radius: 5%;background-color:#ffffff ;text-align: center;margin-top: 2%;" >
                    <span class="hideThisSpan" style=""><?php echo ($vo['fid']); ?></span>
                    <p style="font-family: 楷体;font-size: 30px">
                        <?php echo ($vo['comment']); ?>
                    </p>

                </div>
                <div class="col-md-2 col-md-2 col-sm-2 col-xs-2 col-lg-offset-0 col-md-offset-0 col-xs-offset-0 col-ms-offset-0" style="text-align: center;">
                    <a class="modalshow" href="javascript:;" fourmId="<?php echo ($vo['fid']); ?> " olduname="<?php echo ($vo['username']); ?>">
           <span  style="margin-top: 55%;width: 50%;float: left;font-family: 楷体;font-size: larger">
           回复
           </span>
                    </a>
                </div>

            </div><?php endforeach; endif; else: echo "" ;endif; ?>-->



        <div class="row">
            <div class="col-md-5"></div>
            <div class="col-md-4">
                <a href="<?php echo U('Fourm/detail');?>" >
                    <button type="button" class="btn btn-info" style="text-align: center;margin-top: 5%">返回</button>
                </a>
            </div>

        </div>
    </div>
</div>
</body>
</html>